<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/10/5
  Time: 11:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<body>
<%--<c:if test="${!empty postVos}">--%>
    <c:forEach items="${postVos}" var="postVos">
        <div style="border: 0px; background-color: #fcfcfc;margin: 20px 20px 20px 20px">
            <a href="${path}/com/comment?postId=${postVos.post.postId}">
                <div style="float:left;width: 50px;">
                    <img src="${postVos.userInfo.picfilename}" alt=""
                         style="width: 50px; height: 50px;border-radius: 50%">
                </div>
            </a>
            <a href="${path}/com/comment?postId=${postVos.post.postId}">
                <div style="width: 540px;float: right;margin-top: 12px">
                    <div style="float:left;">
                        <span style="font-size: 16px">&nbsp;${postVos.post.title}</span>
                        <span class="badge" value="-1" style="font-size: 10px;background-color: #ff8b3d;color: white">${postVos.classs.className}</span>
                        <%--<span style="font-size: 12px;padding: 2px 4px ;border-radius: 20%; background-color: #ff8b3d; color: white">置顶</span>--%>
                        <br>
                        <span style="font-size: 12px;color: #bebebe">&nbsp;&nbsp;${postVos.userInfo.uName}&nbsp;
                                            <span style="color:black">发表于</span>
                                            &nbsp;${postVos.post.ptime}
                                        </span>
                    </div>
                    <div style="float: right;font-size: 12px; margin-top: 28px;color: #bebebe">
                        <%--<span class="glyphicon glyphicon-eye-open">&nbsp;20000</span>--%>
                        <%--<span class="glyphicon glyphicon-comment">&nbsp;${postVos.post.pointNum}</span>--%>
                    </div>
                </div>
            </a>
        </div>
        <hr style="height: 1px;background-color: #e0e0e0;width: 540px;margin: 90px 0 15px 80px;">
    </c:forEach>
<%--</c:if>--%>

<%@ include file="page.jsp" %>
</body>
</html>